//
//  ViewController.h
//  JavaScript
//
//  Created by lizp on 2016/12/10.
//  Copyright © 2016年 Apple05. All rights reserved.
//

#import <UIKit/UIKit.h>

//导入与js交互的框架
#import <JavaScriptCore/JavaScriptCore.h>

@protocol javaScriptCoreDelegate <JSExport>

#pragma mark js中的jsObj对象调用的JavaScript方法，必须声明
-(void)getTextViewContent:(NSString *)content;
-(void)jsCall;

@end


@interface ViewController : UIViewController<javaScriptCoreDelegate>

@property (nonatomic, strong) JSContext *jsContext;


@end

